package com.ktwlsoft.archivemanage.payload.customAnalysis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 指标编辑
 *
 * @author zhuhe on 2019/11/27 17:53
 * @version 1.0
 */
@ApiModel("指标编辑")
@Getter
@Setter
public class AnalysisIndexUpdateRequest {

    /**主键*/
    @ApiModelProperty("主键")
    private Long id;

    /**分析id**/
    @ApiModelProperty("分析id")
    private Long analysisId;

    /**业务检查得分:1.选中,0.未选中**/
    @ApiModelProperty("业务检查得分:1.选中,0.未选中")
    private Integer guidanceScore;

    /**整改后得分:1.选中,0.未选中**/
    @ApiModelProperty("整改后得分:1.选中,0.未选中")
    private Integer mendMark;

    /**业务检查模块得分:1.选中,0.未选中 暂时弃置**/
    @ApiModelProperty("业务检查模块得分:1.选中,0.未选中")
    private Integer guidanceTemScore;

    /**业务检查平均得分:1.选中,0.未选中 暂时弃置**/
    @ApiModelProperty("业务检查平均得分:1.选中,0.未选中")
    private Integer guidanceAverageScore;

    /**业务检查单量:1.选中,0.未选中**/
    @ApiModelProperty("业务检查单量:1.选中,0.未选中")
    private Integer guidanceSingleNum;

    /**检查整改单量:1.选中,0.未选中**/
    @ApiModelProperty("检查整改单量:1.选中,0.未选中")
    private Integer mendSingleNum;

    /**立档单位数量:1.选中,0.未选中**/
    @ApiModelProperty("立档单位数量:1.选中,0.未选中")
    private Integer archiveUnitNum;

    /**检查整改次数:1.选中,0.未选中**/
    @ApiModelProperty("检查整改次数:1.选中,0.未选中")
    private Integer mendNum;

    /**指标缺陷次数:1.选中,0.未选中**/
    @ApiModelProperty("指标缺陷次数:1.选中,0.未选中")
    private Integer indexDefectNum;

    /**排序**/
    @ApiModelProperty("排序")
    private Integer sort;

    /**类型:1.新增,2.修改,3.删除*/
    @ApiModelProperty("类型:1.新增,2.修改,3.删除")
    @NotNull(message = "类型不能为空")
    private Integer type;
}